<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<?php
if($pid){
echo "<h3>添加".$p_name."子栏目页面";}
else{
echo "<h3>添加住栏目页面";}
?>&nbsp;&nbsp; <a href="{:U(GROUP_NAME.'/Category/index')}">栏目列表</h3></a>
<form action="{:U(GROUP_NAME.'/Category/run_add_category')}" method="post">
    <table class="table table-striped table-hover">
        <tr>
            <th colspan="2"></th>
        </tr>
        <tr>
            <td align="right">栏目中文名称：</td>
            <td>
                <input class="form-control text" type="text" name="name">
                <input type="hidden" name="p_name" value="{$p_en_name}">
            </td>
        </tr>
        <tr>
            <td align="right">栏目英文名称：</td>
            <td>
                <input class="form-control text" type="text" name="en_name">
            </td>
        </tr>
        <tr>
            <td align="right">排序：</td>
            <td>
                <input class="form-control text"  type="text" name="sort" value="100">
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <input type="hidden" name="pid" value="{$pid}">
                <input style="width: 200px"  class="btn btn-primary" type="submit" value="保存">
            </td>
        </tr>
    </table>
</form>
<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/bootstrap/css/button.css" rel="stylesheet">
<script src="__PUBLIC__/bootstrap/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/bootstrap/js/bootstrap.js"></script>
</body>
</html>